import {
	baseUrl
} from '@/libs/baseUrl.js'


// 上传文件
export const upLoadFileApi = (url) => {
	return uni.uploadFile({
		url: baseUrl + '/upload/image',
		header: {
			'Content-Type': 'multipart/form-data',
		},
		filePath: url,
		name: 'file'
	})
}